<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        body img {
            width: 100vw;
            height: 100vh;
            position: absolute;
        }

        #login_form {
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            width: 30vw;
            height: 30vh;
            margin: auto;
            position: absolute;
            background: rgba(116, 185, 196, 0.7);
            border-radius: 5px;
        }

        #login_form h2 {
            text-align: center;
        }

        #login_form input {
            margin: 2vh 10%;
            width: 80%;
            height: 5vh;
            border-radius: 5px;
            border: 1px solid grey;
        }

        #login_form button {
            margin: 2vh 25%;
            width: 50%;
            height: 5vh;
            border: none;
            background: blue;
            border-radius: 5px;
        }
    </style>

</head>

<body>
    <img src="/storage/images/login.jpg">
    <form action="/admin/login" method="post" id="login_form">
        @csrf
        <h2>普吉岛后台</h2>
        <input type="text" name='adminname' id='adminname' placeholder="请输入管理账号">
        <input type="password" name='password' id='password' placeholder="请输入密码">
        <button>登录</button>
    </form>
</body>

</html>